DataSource for Entity Framework in WPF
C1.LiveLinq Namespace / IndexedQueryExtensions Class / ToIndexed Method / ToIndexed<T>(BindingList<T>) Method
The type of the elements in the collection.
A BindingList data source to represent as an C1.LiveLinq.Collections.IndexedCollection<T>.

In This Topic
    ToIndexed<T>(BindingList<T>) Method
    In This Topic
    A typed specialization of the ToIndexed<T>(IBindingList) method.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ToIndexed(Of T)( _
       ByVal source As BindingList(Of T) _
    ) As IndexedCollection(Of T)
    public static IndexedCollection<T> ToIndexed<T>( 
       BindingList<T> source
    )

    Parameters

    source
    A BindingList data source to represent as an C1.LiveLinq.Collections.IndexedCollection<T>.

    Type Parameters

    T
    The type of the elements in the collection.

    Return Value

    An C1.LiveLinq.Indexing.IIndexedSource<T> that contains the same elements as the BindingList and enables indexing of that data source.
    See Also